import { parse, HTMLElement } from 'node-html-parser'; const html = `
<div id="zj-classroom-export-001" data-feidao-type="zj-classroom-export-001" class="pos-a pos-t0 overflow-y-a" style="width:1000px;">
    <table cellspacing="0" cellpadding="0" border="1" style="border:#999 solid 1px; width:100%;">
        <thead class="bg-eeeee ht30 l-ht30 text-c font12">
            <tr>
                <th class="l-ht40 font16 font-b text-c" style="width:100%;" colth="7">教室</th>
			</tr>
			<tr>
                <th style="width:90px;">教室号</th>
				<th style="width:90px;">房间号</th>
				<th style="width:90px;">房间名</th>
				<th style="width:100px;">教室类型</th>
				<th style="width:80px;">座位数</th>
				<th style="width:90px;">可容纳考生数</th>
				<th style="width:70px;">是否考场</th>
				<th style="width:100px;">校区</th>
				<th style="width:100px;">教学楼</th>
				<th style="width:100px;">区域</th>
				<th style="width:80px;">楼层</th>
            </tr>
        </thead>
		<tbody data-feidao-presentation="P01" class="font12" style="line-height:20px;"></tbody>
    </table>
</div>
`; export default parse(html);